package com.poi.exception;

/**
 * 异常信息定义
 * @author tarena
 *
 */
public class PoiElException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	/**
	 * 错误编码
	 */
	protected int code;

	public PoiElException(int code, String message) {
		super(message);
		this.code = code;
	}

	public PoiElException(int code, String message, Throwable cause) {
		super(message, cause);
		this.code = code;
	}
}
